home *** CD-ROM | disk | FTP | other *** search
/ Windows Expert / Windows Expert.iso / sound / muzika.zip / MUZSRC1.ZIP / ABOUT.CPP next >
C/C++ Source or Header  |  1992-07-22  |  623b  |  26 lines

  1. // **********************************************
  2. // File: ABOUT.CPP
  3. // "About..." dialog box procedure
  4.  
  5. #include "muzika.h"
  6.  
  7. // **********************************************
  8. // DialogAbout is the "About..." dialog box procedure,
  9. // processing messages intended for this dialog box.
  10. // The only processed message is WM_COMMAND, on which
  11. // the dialog box is finished.
  12.  
  13. BOOL FAR PASCAL DialogAbout(HWND hDlg, unsigned message, WORD, LONG)
  14. {
  15.   switch (message) {
  16.     case WM_INITDIALOG:
  17.       return TRUE;
  18.  
  19.     case WM_COMMAND:
  20.       EndDialog(hDlg, TRUE);
  21.       return TRUE;
  22.   }
  23.  
  24.   return FALSE;
  25. }
  26.